package cn.cvs.service;

import cn.cvs.pojo.SysRole;

import java.util.List;

public interface SysRoleService {
    List<SysRole> getRoleList() throws Exception;

    int  add(SysRole sysRole) throws Exception;

    int  deleteById(Integer integer) throws Exception;

    boolean update(SysRole sysRole) throws Exception;

    SysRole getById(Integer id) throws Exception;

    int getCountByCode(String s) throws Exception;
}
